package com.ejuornal.dao;

import com.ejuornal.bean.Page;

public interface BaseDao<T> {
    public void add(String sql, Object... objs);
    public void batchDelete(String sql ,final int...ids);
    public void update(String sql, Object... objs);
    public Page<T> find(int current_record, String url); 
    public Page<T> find (int current_record, String url, String hsql, Object[] objs);
    public Page<T> find(int current_record, String url, String sql_1, String sql_2, Object[] objs);
    public Page<T> find (int current_record, String url, int pageSize, String sql_1, String sql_2, Object[] objs);
}
